<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<title>消息列表</title>
    <script src="/Public/Home/js/zepto.min.js"></script>
    <link href="/Public/Home/css/weui.min.css" rel="stylesheet">
	<link rel="stylesheet" href="/Public/Home/SaleManager/stylesheets/index.css">
</head>
<style>
	.info_num {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    background: #fb9a9b;
    color: #fff;
}
</style>
<body>
	<div class="mySaleMan">
    <header class = "all_header">
       <a class = "h_back_1 upinfolist" style='flex: 1;' href="javascript:void(0)" data-role-id='<?php echo ($myself["role_id"]); ?>'><img src="/Public/Home/SaleManager/images/back_icon.png" alt="" style="width:30px;vertical-align: middle;"></a>
      <a class = "h_add" href="javascript:void(0)"></a>
    </header>
    <div class="weui-cells">
    <?php if(is_array($infores)): $i = 0; $__LIST__ = $infores;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="weui-cell saleSingle" data-userid='<?php echo ($v[0]["send_user_id"]); ?>'>
	    <?php if($v["head_img"] != ''): ?><div class="weui-cell__hd"><img class = "sale_img" src="<?php echo ($v["head_img"]); ?>" alt=""></div>
	   		 <?php else: ?> <div class="weui-cell__hd"><img class = "sale_img" src="/Public/Home/SaleManager/images/people.png" alt=""></div><?php endif; ?>
        <div class="weui-cell__bd">
          <p class = "sale_man"><?php echo ($v[0]["send_name"]); ?>
          <?php if($v[0]['is_look'] == 0): ?><span class="info_num"><sup><?php echo (count($v)); ?></sup></span><?php endif; ?>
          
          </p>
        </div>
        <div class="weui-cell__ft">
          <span><?php echo ($v[0]["send_time_data"]); ?></span>
        </div>
	    </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
	</div>
	<script src = "/Public/Home/SaleManager/js/index.js"></script>
	<script src = "/Public/Home/SaleManager/js/androidback.js"></script>
		<script src = "/Public/Home/SaleManager/js/Common.js"></script>
</body>
</html>